package com.example.example.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.example.example.domain.ChatConver;
import com.example.example.domain.ChatConverVO;
import com.example.example.mapper.ChatConverMapper;
import com.example.example.service.IChatConverService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChatConverService implements IChatConverService {


    @Autowired
    private ChatConverMapper chatConverMapper;

    /**
     * 获取会话列表
     *
     * @return 会话列表
     */
    @Override
    public List<ChatConverVO> getChatConverList() {
        return chatConverMapper.selectList();
    }

}
